You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <revisions rvcontinue="20563" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1" ns="0" title="Main Page">
        <revisions>
          <rev user="Wyldckat" timestamp="2023-10-10T16:22:18Z" comment="Added release notes for OpenFOAM.org 11 and OpenFOAM.com v2306" />
          <rev user="Bgschaid" timestamp="2023-05-05T20:22:53Z" comment="Remove Read-only" />
          <rev user="Bgschaid" timestamp="2023-02-11T13:37:56Z" comment="No editing till Tuesday" />
          <rev user="Wyldckat" timestamp="2023-01-02T15:53:43Z" comment="OF 2212 as latest and added foam-extend 5" />
          <rev user="Wyldckat" timestamp="2023-01-02T15:25:08Z" comment="Added v2212" />
        </revisions>
      </page>
    </pages>
  </query>
</api>